<?php

namespace X;

class Exception extends \Exception
{
    public $message;
    public $location;
    
    public function __construct($message, $location) {

        $this->message = $message;
        $this->location = $location;

        parent::__construct($message);
    }
}